package com.coderman.infosys.user.infrast.convert;


import com.coderman.infosys.user.domain.bo.LoginRecordBO;
import com.coderman.infosys.user.infrast.dao.dataobject.ThirdUserDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* @Description:登录日志实体接口
* @Author:
* @CreateTime:2021-09-29 17:15:04
* @version v1.0
*/
@Mapper
public interface LoginRecordConvert{
	LoginRecordConvert INSTANCE = Mappers.getMapper(LoginRecordConvert.class);

	/**
	 *
	 * @Description:
	 * @return LoginRecordBO
	 */
	 LoginRecordBO do2bo(ThirdUserDO thirdUserDO);
	/**
	 *
	 * @Description:
	 * @return List<LoginRecordBO>
	 */
	 List<LoginRecordBO> doList2boList(List<ThirdUserDO> thirdUserDOList);
	/**
	 *
	 * @Description:
	 * @return ThirdUserDO
	 */
	 ThirdUserDO bo2do(LoginRecordBO loginRecordBO);
	/**
	 *
	 * @Description:
	 * @return List<ThirdUserDO>
	 */
	 List<ThirdUserDO> boList2doList(List<LoginRecordBO> loginRecordBOList);
}